package com.asp.service;

import com.asp.dto.*;
import com.asp.entity.Topic;
import com.asp.result.PageResult;

/**
 * author:          ndg
 * date:            2024/1/5
 */
public interface InteractService {
    void addTopic(AddTopicDTO addTopicDTO);

    PageResult pageQuery(TopicPageQueryDTO topicPageQueryDTO);

    Topic topicDetail(Integer topicId);

    void replyAdd(ReplyAddDTO replyAddDTO);

    void topicDelete(Integer topicId);

    PageResult topicReply(TopicReplyPageQueryDTO topicReplyPageQueryDTO);

    void topicClick(TopicClickDTO topicClickDTO);

    void replyClick(TopicReplyClickDTO topicReplyClickDTO);

    void replyDelete(ReplyDeleteDTO replyDeleteDTO);

    void topicUnClick(TopicClickDTO topicClickDTO);

    void replyUnClick(TopicReplyClickDTO topicReplyClickDTO);
}
